﻿@using GameStepAzure.Areas.Cliente.Models
@model List<DetalleCompra>
@{
    ViewBag.Title = "UsuarioPerfil";
    Layout = "~/Views/Shared/_Master.cshtml";
}
<link href="../../../../Content/GameStore/Admin/demo_table_ui.css" rel="stylesheet"
    type="text/css" />
<link href="../../../../Content/GameStore/Admin/jquery-ui-1.9.0.custom.css" rel="stylesheet"
    type="text/css" />
<script type="text/javascript">
    $(document).ready(function () {
        $('#ordenes').dataTable({
            "bJQueryUI": true,
            "sPaginationType": "full_numbers"
        });
    });
</script>
<table id="ordenes" class="display">
    <thead>
        <th>
            N&uacute;mero de orden
        </th>
        <th>
            Producto
        </th>
        <th>
            Precio Producto
        </th>
        <th>
            Cantidad
        </th>
    </thead>
    <tbody>
        @foreach (DetalleCompra entry in Model)
        {    
            <tr>
                <td>@entry.NumeroOrden
                </td>
                <td>@entry.NombreProducto
                </td>
                <td>@entry.Precio
                </td>
                <td>@entry.Cantidad
                </td>
            </tr>
        }
    </tbody>
</table>
